<?php

/*
Process Add Headlines (admin_headlines.pro.php)
*/

$rank_check = "7";
include "../global.inc.php";

$hl1 = smilies(badwords(strip_tags("$hl1", "<b><i><u><font><img><a>")));
$hl2 = smilies(badwords(strip_tags("$hl2", "<b><i><u><font><img><a>")));
$hl3 = smilies(badwords(strip_tags("$hl3", "<b><i><u><font><img><a>")));

mysql_query("DELETE FROM headlines WHERE game = '$game'");
mysql_query("INSERT INTO headlines VALUES ('', '$game', '$hl1', '$hl2', '$hl3')");

header("Location: admin_headlines.php?game=$game&error=Your+headlines+have+been+added!");

?>
